import { createRouter,createWebHashHistory} from "vue-router";
import TodoList from '../components/TodoList.vue'
import TheWelcome from '../components/TheWelcome.vue'

const router - createRouter({
  history:cresteWebHashHistory(),
  routes:[
    {path:'/',name:'home',component:TodoList},
    {path:'/about',name:'about',component:TheWelcome}
  ]
})
export default router